home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Invenzioni & Inventori
/
Invenzioni and Inventori (Eclectica Publishing) (1996).ISO
/
invenzio
/
tori
/
sharedi.cst
/
03026_Script_3026
< prev
next >
Wrap
Text File
|
1983-01-27
|
2KB
|
74 lines
on att_hil_invent dacast,quanti,primocan
global audio,dove,men,olddove,audio_barrato,canale_quicktime
set elewin to string (the windowlist)
if offset ("menubar",elewin) > 0 then
if the visible of window "menubar" = true then
exit
end if
end if
if the mousecast >= dacast and the mousecast <=dacast + quanti-1 then
set attore to the mousecast
if attore >=dacast and attore <= dacast + quanti-1 then
repeat with num = 1 to quanti
if dove <> num then
set the castnum of sprite (primocan+num -1) to (dacast + num -1)
end if
end repeat
put "aaaudio",audio
set the castnum of sprite primocan-1 to audio
set the castnum of sprite (attore-dacast +primocan) to (attore + quanti)
end if
end if
if the mousecast < dacast or the mousecast > dacast +50 then
repeat with num = 1 to quanti
if dove <> num then
set the castnum of sprite (primocan+num -1) to (dacast + num -1)
end if
end repeat
set the castnum of sprite primocan-1 to audio
end if
set y to the castnum of sprite canale_quicktime
if y>0 then
set vv to the casttype of cast y
if vv=#digitalvideo then
set val_vv to the movierate of sprite canale_quicktime
else
set val_vv to 0
end if
else
set val_vv to 0
end if
if the mousecast = audio AND val_vv = 0 then
repeat with num = 1 to quanti
set the castnum of sprite (primocan+num -1) to (dacast + num -1)
end repeat
set elewin to string(the windowlist)
if offset("popup",elewin)=0 then
set the castnum of sprite primocan-1 to audio + 1
end if
end if
if dove > 0 then
set the castnum of sprite (primocan + dove-1) to (dacast + quanti+ dove -1)
end if
if olddove>0 then
set the castnum of sprite (primocan + olddove-1) to (dacast + quanti+ olddove -1)
end if
end